import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home/Home.vue'

Vue.use(Router)

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path: '/config/serve',
      name: 'configServe',
      component: () => import(/* webpackChunkName: "configServe" */ './views/config_serve/config_serve.vue')
    },
    {
      path: '/config/web',
      name: 'configWeb',
      component: () => import(/* webpackChunkName: "configServe" */ './views/config_web/config_web.vue')
    },
    {
      path: '/about',
      name: 'about',
      component: () => import(/* webpackChunkName: "about" */ './views/About.vue')
    }
  ]
})
